<% for column in Brand.content_columns %>
<p> <b><%= column.human_name %>:</b>
	<% if column.name == "on_logo" %>
		<%= image_tag("/binary/brand_logo_on/#{@brand.id}") %>
	<% elsif column.name == "off_logo" %>
		<%= image_tag("/binary/brand_logo_off/#{@brand.id}") %>
	<% else %>
  <%=h @brand.send(column.name) %>
  <% end %>
</p>
<% end %>

<%= link_to 'Edit', :action => 'edit', :id => @brand %> |
<%= link_to 'Back', :action => 'list' %>
